﻿using System;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using FwProject.Core.Restaurant;
using FwProject.Core.Distribution;
using FwProject.Core.FactoryInfo;
using Abp.AutoMapper;
using System.Collections.Generic;

namespace FwProject.Distribution.Dto
{
    [AutoMap(typeof(DistributionInfo))]
    public class EditDistributionInpuDto
    {

        public Guid Id { get; set; }

        /// <summary>
        /// 上一次店存配送情况
        /// </summary>
        public int Stock { get; set; } = 0;

        /// <summary>
        /// 配送店存
        /// </summary>
        public int DistributionStock { get; set; } = 0;

        /// <summary>
        /// 应支付金额
        /// </summary>
        /// <value>The price.</value>
        [Required]
        [Display(Name = "应支付金额")]
        public decimal TotalPrice { get; set; } = 0;

        public List<EditDistributionDetailsInputDto> DetailsInputDtos { get; set; }
    }
   
}
